package com.data.modules.smzh.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: user_card
 * @Author: data-boot
 * @Date:   2022-11-29
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class UserCardVo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**用户ID*/
	@Excel(name = "用户ID", width = 15)
    @ApiModelProperty(value = "用户ID")
    private Integer userId;

	/**卡类型*/
	//@Excel(name = "卡类型", width = 15)
    @ApiModelProperty(value = "卡类型")
    private Integer cardType;
	/**创建人*/
   /* @ApiModelProperty(value = "创建人")
    private String createBy;*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;

    /**住户ID*/
    @Excel(name = "住户编号", width = 15)
    @ApiModelProperty(value = "住户ID")
    private String personId;
    /**住户编号(手机号）*/
    @Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "住户编号(手机号）")
    private String personCode;
    /**住户名字*/
    @Excel(name = "住户名称", width = 15)
    @ApiModelProperty(value = "住户名字")
    private String personName;

    /**门禁卡*/
    @Excel(name = "门禁卡", width = 15)
    @ApiModelProperty(value = "门禁卡")
    private String cardNumber;

}
